﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using W.Warehouse.Domain;

namespace W.Warehouse.Repository.Interface
{
    public class OutboundRepository : BaseRepositoy<Outbound>, IOutboundRepository
    {
        public OutboundRepository(EFCoreDbContext context) : base(context)
        {
        }
        public async Task<int> AddAsync(Outbound outbound)
        {
            return await base.AddAsync(outbound);
        }

        public async Task<List<Outbound>> GetAllAsaync()
        {
            return await base.GetAllAsync();
        }

        public async Task<List<Outbound>> GetAsync(Expression<Func<Outbound, bool>> expre)
        {
            return await base.GetAsync(expre);
        }

        public async Task<int> Update(Outbound outbound)
        {
            return await base.UpdateAsync(outbound);
        }
    }
}
